#include<stdio.h>

int max;
int min;

int find_m(int a, int b, int c);
int main(int argc, char *argv[])
{
	find_m(100,233,102);
	printf("三个数的最大值是%d,最小值是%d\n", max, min);

	return 0;
}


int find_m(int a,int b, int c){
	max = (max = a > b ? a : b) > c ? max : c;
	min = (min = a < b ? a : b) < c ? min : c;

	return 1;
}
